package com.item.mapper;

import com.item.pojo.MenuItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface foodmapper {
    @Select("SELECT * FROM `menuitem` where type LIKE '%热菜%'")
    List<MenuItem>  getfood(@Param("type") String type);

}
